package com.samuel.aware;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @date:2017/11/23
 * @time: 14:34
 * @author:zhaoyang
 * @desc:
 **/
public class AwareMain {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AwareConfig.class);
        AwareService awareService = context.getBean(AwareService.class);
        awareService.outputResource();
        context.close();
    }
}
